﻿namespace WMS6.Web.BaseInfoServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.Collections.Generic;
    using System.Diagnostics;
    using System.Runtime.Serialization;

    [Serializable, GeneratedCode("System.Runtime.Serialization", "3.0.0.0"), DataContract(Name="RoleQueryEntity", Namespace="http://schemas.datacontract.org/2004/07/WMS6.QueryEntity"), DebuggerStepThrough]
    public class RoleQueryEntity : BaseQuery
    {
        [OptionalField]
        private string CreatedByField;
        [OptionalField]
        private string CreatedDateField;
        [OptionalField]
        private string IsActiveField;
        [OptionalField]
        private List<RoleFunctionQueryEntity> m_RoleFunctionQeryEntityField;
        [OptionalField]
        private string RoleIDField;
        [OptionalField]
        private string RoleNameField;
        [OptionalField]
        private string RowIDField;
        [OptionalField]
        private string SystemCreatedField;
        [OptionalField]
        private string UpdatedByField;
        [OptionalField]
        private string UpdatedDateField;

        [DataMember]
        public string CreatedBy
        {
            get
            {
                return this.CreatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedByField, value))
                {
                    this.CreatedByField = value;
                    base.RaisePropertyChanged("CreatedBy");
                }
            }
        }

        [DataMember]
        public string CreatedDate
        {
            get
            {
                return this.CreatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedDateField, value))
                {
                    this.CreatedDateField = value;
                    base.RaisePropertyChanged("CreatedDate");
                }
            }
        }

        [DataMember]
        public string IsActive
        {
            get
            {
                return this.IsActiveField;
            }
            set
            {
                if (!object.ReferenceEquals(this.IsActiveField, value))
                {
                    this.IsActiveField = value;
                    base.RaisePropertyChanged("IsActive");
                }
            }
        }

        [DataMember]
        public List<RoleFunctionQueryEntity> m_RoleFunctionQeryEntity
        {
            get
            {
                return this.m_RoleFunctionQeryEntityField;
            }
            set
            {
                if (!object.ReferenceEquals(this.m_RoleFunctionQeryEntityField, value))
                {
                    this.m_RoleFunctionQeryEntityField = value;
                    base.RaisePropertyChanged("m_RoleFunctionQeryEntity");
                }
            }
        }

        [DataMember]
        public string RoleID
        {
            get
            {
                return this.RoleIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RoleIDField, value))
                {
                    this.RoleIDField = value;
                    base.RaisePropertyChanged("RoleID");
                }
            }
        }

        [DataMember]
        public string RoleName
        {
            get
            {
                return this.RoleNameField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RoleNameField, value))
                {
                    this.RoleNameField = value;
                    base.RaisePropertyChanged("RoleName");
                }
            }
        }

        [DataMember]
        public string RowID
        {
            get
            {
                return this.RowIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RowIDField, value))
                {
                    this.RowIDField = value;
                    base.RaisePropertyChanged("RowID");
                }
            }
        }

        [DataMember]
        public string SystemCreated
        {
            get
            {
                return this.SystemCreatedField;
            }
            set
            {
                if (!object.ReferenceEquals(this.SystemCreatedField, value))
                {
                    this.SystemCreatedField = value;
                    base.RaisePropertyChanged("SystemCreated");
                }
            }
        }

        [DataMember]
        public string UpdatedBy
        {
            get
            {
                return this.UpdatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedByField, value))
                {
                    this.UpdatedByField = value;
                    base.RaisePropertyChanged("UpdatedBy");
                }
            }
        }

        [DataMember]
        public string UpdatedDate
        {
            get
            {
                return this.UpdatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedDateField, value))
                {
                    this.UpdatedDateField = value;
                    base.RaisePropertyChanged("UpdatedDate");
                }
            }
        }
    }
}

